{% load staticfiles %}
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>{% block title%}{% endblock %}</title>
    <link rel="stylesheet" href="{% static 'css/base.css' %}">
    <link rel="stylesheet" href="{% static 'css/bootstrap.min.css'%}">
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
    <script type="text/javascript" src="{% static 'js/jquery.js'%}"></script>    
    <script type="text/javascript" src="{% static 'js/daohang.js'%}"></script>
    <script type="text/javascript" src="{% static 'js/bootstrap.min.js'%}"></script>
    {% block header_extends %}{% endblock %}   
</head>
<body>
    <nav class="navbar navbar-expand-lg navbar-dark bd-navbar ">
        <a class="navbar-brand" href="{% url 'home'%}">北方的橘子</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarNavAltMarkup">
            <div class="navbar-nav">
                <a class="nav-item nav-link {% block nav_home_active%}{% endblock%}" href="{% url 'home' %}">首页 <span class="sr-only">(current)</span></a>
                <a class="nav-item nav-link {% block nav_blog_active%}{% endblock%}" href="{% url 'blog_list'%}">博客</a>
                <a class="nav-item nav-link " href="{% url 'aboutme'%}">关于我</a>

            </div>
        </div>
    </nav>
    {% block content %}{% endblock %}
    {% block script_extends %}{% endblock %}

</body>
</html>